<!--<?xml version='1.0' encoding='UTF-8'?>-->
<!--<?xml version='1.0' encoding='ISO-8859-1'?>-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"  >

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        <title>
            #{empresaMB.empresa.nombreFantasia} - 
            <ui:insert name="titulo">
                Menu Principal
            </ui:insert>
        </title>
        <h:outputStylesheet library="css" name="estructura.css"/>
        <h:outputStylesheet library="css" name="estilos.css"/>
        <h:outputStylesheet library="css" name="imagenes.css"/>
        <ui:insert name="head"></ui:insert>
    </h:head>
    
    <h:body>
        <ui:include src="/global/monitorSession.xhtml" />

        <div class="envoltura">
            <h:form id="fCaberera">
                <div class="header">
                    <ui:insert name="header">
                        <div class="header-div-left">
                            <h:graphicImage value="/resources/imagenes/logo.png" height="50px" width="150"  />
                        </div>
                        <div class="header-div-left" >
                            <ui:include src="/template/ajaxStatus.xhtml" />
                        </div>

                        <div class="header-div-right" >
                            <ui:insert name="infoUsuario">
                                <ui:include src="/seguridad/usuarioInformacion.xhtml" />
                            </ui:insert>
                            <ui:insert name="cerrarSession"/>
                        </div>
                    </ui:insert>
                </div>
            </h:form>
            <div class="panelPrincipal">
                <h:form prependId="false" id="formulario" >
                    <ui:insert name="panelPrincipal" />
                </h:form>
            </div>
            <div class="piePagina">
                <ui:insert name="pie">
                    <!--<ui:include src="pie.xhtml" />-->
                </ui:insert>
            </div>
        </div>
    </h:body>

</html>
